Accessibility

Using the Action Tool to Define Macromedia Flash Actions Inside FreeHand MX

The Action tool provides a simple way to specify a relationship between objects in your document and pages. You can quickly drag links between button graphics and screens and then fine-tune their relationships with the Navigation panel.

I started off this Logo Browser project by completing the menu screen and one sample logo destination page. I only created one logo destination page at this stage in the project (instead of the five pages we need) because I want to perfect that page before duplicating it for the remaining logos. Here are the two pages, side by side as they appear in FreeHand MX running on Mac OS X:

Figure 3: Menu screen and logo destination page

Figure 3: Menu screen and logo destination page

Now I need to create a button or "hotspot" definition on the menu page that will link a logo menu item to its destination page. Here are the steps I took to create the button link. Refer to these steps as you build your own similar project.

  1. Choose an object to serve as the button area. I could choose any element already on this page (such as a text or graphic object) to hold the link. Instead, I am going to define a larger clickable area by drawing a big rectangle in a new layer. This new object will soon serve as an "invisible" button. Take a look at the Layers panel (see Figure 4), where I have created a layer named "buttons" to store the rectangle.

    Figure 4: Layers panel

    Figure 4: Layers panel

  2. Use the Action tool to drag a link from the button object to the destination page. Click the Action tool in the Tools panel. Click the button object and hold the mouse down as you drag it towards the destination page. Release the mouse when your pointer is over the page you want to link to. This will create a default link that you can see and modify in the Navigation panel. (See Figure 5.)

    Figure 5: Using the Action tool

    Figure 5: Using the Action tool

  3. Review the Action settings in the Navigation panel. At this point, I could simply export a Macromedia Flash SWF and browse the link, but first, I want to double-check the results produced by the Action tool. In Figure 5, you can see the Navigation panel.

The Action pop-up menu reads "Go To and Stop," which is the default setting. The Parameters pop-up menu reads "Page 2"—the page you linked to. “Event" is set to "on (press)," which simply means that the action will take place when the user clicks on the button region.

Notice that the “Link” value is still empty. (See Figure 5.) Even though the "Go To and Stop" Macromedia Flash action does not require a Link setting (It uses the Parameter setting "Page 2"), however, I am going to add a Link setting anyway. I do this just in case I might need to use export this presentation as HTML using the FreeHand "Publish as HTML..." feature:

Figure 6: Navigation Panel Link setting

Note: I will go deeper into the Navigation Panel when I work on special buttons for the logo destination pages in the next part of this project.

To complete the entire menu of buttons, I repeat the process for each logo and forge links to each of the logo pages. After creating all of the buttons and logo pages, I drag the button layer down the Layers panel, moving the yellow buttons behind all of the menu artwork and making the buttons regions "invisible."